﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sms_show.aspx.cs" Inherits="CentralOffice.WebClient.desktop.sms.sms_show" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>查看短消息</title>
<script src="../../inc/mytable.js"></script>
<link rel="stylesheet" type="text/css" href="../../theme/2/style.css">
<script src="../../inc/js/ccorrect_btn.js"></script>
<SCRIPT LANGUAGE="JavaScript">
function MyLoad()
{
    MyTimer();
}

TimeStart=30;

function MyTimer()
{
   if(TimeStart==0)
      window.close();

   if(document.getElementById("TimeShow"))
      document.getElementById("TimeShow").innerHTML=TimeStart;
   TimeStart--;

   var timer=setTimeout("MyTimer()",1000);
}

function gotoURL(URL,SMS_ID,open_window)
{
   var xmlHttp=getXMLHttpObj();
   xmlHttp.open("GET","sms_submit.php?DEL=0&SMS_ID="+SMS_ID,true);
   xmlHttp.send(null);
   if(opener&&opener.parent.leftmenu)
      opener.parent.leftmenu.openURL(URL,open_window);
   else
   {
      mytop=(screen.availHeight-500)/2-30;
      myleft=(screen.availWidth-780)/2;
      window.open(URL,"oa_sub_window","height=500,width=780,status=0,toolbar=no,menubar=no,location=no,scrollbars=yes,top="+mytop+",left="+myleft+",resizable=yes");
   }
   parent.opener.document.getElementById("new_sms").innerHTML="";
   window.close();
}
</SCRIPT>
</head>

<body class="bodycolor" topmargin="0" leftmargin="0">
<form name="form1" method=post runat=server>

<table width="90%" align="center">
    <tr>
      <td>
        <table border="0" cellspacing="0" width="100%" cellpadding="3" class="TableHeader">
          <tr><td style="height: 27px">
            <img src="../../images/avatar/9.gif" alt="个人短信"  align="absmiddle" height="20"> 个人短信         </td>
         <td class="small" align="right" style="height: 27px">
             &nbsp;</td></tr>
        </table>
      </td>
    </tr>
    <tr class="TableData">
      <td>
        <table border="0" cellspacing="0" width="100%" cellpadding="5" class="small">
          <tr><td style="COLOR:#0000FF">
              &nbsp;&nbsp;
              <asp:Literal ID="lb_FromName" runat="server"></asp:Literal>
              <asp:Literal ID="Lb_SendTime" runat="server"></asp:Literal>
              <asp:Label ID="LbFromId" runat="server" Text="Label" Visible="False"></asp:Label></td>
          </tr>
          <tr height="70" valign="top"><td colspan="2">
              &nbsp;<asp:TextBox ID="txtContent" runat="server" Height="65px" TextMode="MultiLine" Width="100%"></asp:TextBox></td></tr>
          <tr class="TableControl" nowrap><td colspan="2" style="height: 26px">
      <div align="right">
          <asp:LinkButton ID="lnkOk" runat="server" OnClick="lnkOk_Click">我知道了 </asp:LinkButton>&nbsp;
          <asp:LinkButton ID="lnkClose" runat="server" OnClientClick="window.close();">关闭</asp:LinkButton>&nbsp;
          <asp:LinkButton ID="lnkReply" runat="server" OnClick="lnkReply_Click">回复</asp:LinkButton>&nbsp;
          <asp:LinkButton ID="lnkDel" runat="server" OnClick="lnkDel_Click" OnClientClick="return confirm('确定要删除吗?');" >删除</asp:LinkButton>&nbsp;&nbsp;
      </div>
          </td></tr>
        </table>
      </td>
    </tr>
</table>
</form>
</body>
</html>
